<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE> New Document </TITLE>
<META NAME="Generator" CONTENT="EditPlus">
<META NAME="Author" CONTENT="">
<META NAME="Keywords" CONTENT="">
<META NAME="Description" CONTENT="">
</HEAD>

<BODY>
<input type="button" id='test' value="Agree" disabled="disabled">
<script>
window.onload = function(){
	for(var i=5;i>=0;i--){
		setTimeout(function(i){
			return function(){
				document.getElementById('test').value= i==0 ? 'Agree' : 'Agree('+i+')';
				if(i==0) document.getElementById('test').disabled=false;
			}
		}(i),Math.abs(5-i)*1000)
	}
}
</script>
</BODY>
</HTML>
